import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import api from "../api";
import Vant from "vant";
import "vant/lib/index.css";
import { Lazyload } from 'vant';

Vue.use(Lazyload);
Vue.use(Vant);
Vue.config.productionTip = false;
Vue.use(api); // === api.install(Vue) 注册插件

new Vue({
	router,
	store,
	render: h => h(App),
}).$mount("#app");
